package ar.com.photo_admin.domain.order_state

import ar.com.photo_admin.domain.*;

class FinalizedOrderState extends PurchaseOrderState   {
	
	FinalizedOrderState(PurchaseOrder order){
		this.order = order;
	}
		
	def confirm(){
		
	}
	
	def approve(){
		
	}
	
	def cancel(){

	}
	
	def finalizeOrder(){

	}
	
	def inDispute(){
		
	}
	
	def isRegistered(){
		return true
	}
	
	
	def inProcess(){
		
	}
	
	def pending(){
	
	}
	
	def refund(){

	}
	
	def reject(){
	
	}
	
	
	def isCancellable(){
		return false
	}
	
	def isRefundable(){
		return false
	}
		
	def isFinalizable(){
		return false
	}
	
	def showDescription(){
		return "Finalizado"
	}
	
    static constraints = {
    }
}
